package fr.cie.blog.domainservice;

import fr.cie.blog.beans.User;

/**
 * @author AetM
 * 
 */
public interface IServiceUser extends IServiceGeneric<User> {

	/**
	 * @param login
	 *            the user's login
	 * @return the User
	 */
	User findByLogin(String login);

	/**
	 * @param login
	 *            the user to find
	 * @param password
	 *            the password
	 * @return the response of the database
	 */
	User authenticateUser(String login, String password);
}